package com.ffyc.ssm.modle;

import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class Admin {
    private  Integer id;
    private  String account;
    private  String password;

  /*  private  String  sex;
   @DateTimeFormat(pattern = "YYYY-MM-dd")
    private Date birthday;*/

    private  String oldFileName;
    private  String newFileName;
    private  Integer type;
    private Integer[] roleId;
    private List<Role> roleList;

    public Integer[] getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer[] roleId) {
        this.roleId = roleId;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOldFileName() {
        return oldFileName;
    }

    public void setOldFileName(String oldFileName) {
        this.oldFileName = oldFileName;
    }

    public String getNewFileName() {
        return newFileName;
    }

    public void setNewFileName(String newFileName) {
        this.newFileName = newFileName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;

    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
